Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications
check-agent-mode
This function returns
Location:TRUEif the agent is running in the specified mode (development or production).web\objects\web-util.pParameters:INPUT p_mode AS CHARACTERThe environment mode of the transaction server, either “production”, “development”, or “evaluation”.
Returns: LOGICAL Notes: This function does not compare for equality because the environment mode setting might contain other, user-defined options. Examples: See theinit-sessionprocedure inweb\objects\web-util.p.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |